/*
 * Copyright @ 2024 weili23
 * com.example.mythread.a06threadWaitAndNotify 10:53
 * All right reserved.
 */

package com.example.mythread.a06threadWaitAndNotify;

/**
 * @desc: 载体、
 * @author: weili23
 * @createTime: 2024/10/21 10:53
 * @version: v1.0
 */
public class Desk {
    /*
    * foodNum: 消费者最多消费10碗面条
     */
    public static int foodNum = 10;
    /*
    * lock: 锁对象
     */
    public static Object lock = new Object();

    /*
    * 桌子上有没有面条 0:没有面条 1:有面条
     */
    public static int foodFlag = 0;

}
